//
//  XDOrganizationModel.m
//  XDEducation
//
//  Created by apple on 2017/4/26.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDOrganizationModel.h"

@implementation XDOrganizationModel


+(XDOrganizationModel *)modelWithDict:(NSDictionary *)dict{
    
    XDOrganizationModel *model = [[XDOrganizationModel alloc]init];
    
    model.orgID = [dict objectForKey:@"id"];
    model.orgName  = [dict objectForKey:@"websiteName"];
    model.orgTelephone = [dict objectForKey:@"telphone"];
    model.orgAddress = [dict objectForKey:@"address"];
    model.joined = [dict objectForKey:@"joined"];
    
    return model;
}
@end
